package com.example.springbootthreaddemo.service;

import org.springframework.stereotype.Service;

/**
 * @Author: jixiaotian.ch@qq.com
 * @Date : 2020/8/26
 */
@Service
public class SmsClientImpl  implements  SmsClient {
    @Override
    public String sendSms(String mobile) {
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return "Send SMS success! ->" + mobile;
    }
}
